/*
* Copyright (c) 2010-2011 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: Camerality AppUi class.
*
*/

#ifndef __CAMERALITYAPPUI_H__
#define __CAMERALITYAPPUI_H__

// INCLUDES
#include <aknappui.h>

// FORWARD DECLARATIONS
class CCoeControl;
class CCameralityContainer;


// CLASS DECLARATION
/**
 * CCameralityAppUi application UI class.
 * Interacts with the user through the UI and request message processing
 * from the handler class
 */
class CCameralityAppUi : public CAknAppUi
    {
public:
    // Constructors and destructor

    /**
     * ConstructL.
     * 2nd phase constructor.
     */
    void ConstructL();

    /**
     * CCameralityAppUi.
     * C++ default constructor. This needs to be public due to
     * the way the framework constructs the AppUi
     */
    CCameralityAppUi();

    /**
     * ~CCameralityAppUi.
     * Virtual Destructor.
     */
    virtual ~CCameralityAppUi();

public:
    void HandleWsEventL(const TWsEvent& aEvent, CCoeControl* aDestination);
    
private:
    // Functions from base classes
    void HandleCommandL(TInt aCommand);
    void HandleStatusPaneSizeChange();

private:
    void SetStartSoftkeysL();
    void SetStopSoftkeysL();
    
private:
    // Data

    /**
     * The application view
     * Owned by CCameralityAppUi
     */
    CCameralityContainer* iAppView;

    };

#endif // __CAMERALITYAPPUI_H__

// End of File
